module Chat {

interface MessageReceiver {
     void onMessage( string user , string message);
};
dictionary<string, MessageReceiver* > userList;
interface  Room {
     bool  login( string  user, MessageReceiver * receiver );
     bool  logout( string user );
     bool  broadcast( string user, string message);
     void  printUserList();
};

};